package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Movie;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fmx
 * @since 2024-11-17
 */
@Mapper
public interface MovieMapper extends BaseMapper<Movie> {

    boolean existsByName(String movieName);

    Movie selectByMovieName(String movieName);
}
